//
//  CourseDetailCommentView.h
//  TeacherNet
//
//  Created by slz on 2017/11/15.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <EDStarRating.h>
#import "CourseCommentPageModel.h"

@class CourseCommentAverageCommentView;
@class CourseCommentCountView;
@interface CourseCommentTableHeaderView : UIView
@property (nonatomic,strong) CourseCommentAverageCommentView *averageCommentView;
@property (nonatomic,strong) CourseCommentCountView *commentView;
@end

@interface CourseCommentCountView: UIView
- (CGFloat)updateWithQuickComments:(NSArray *)quickComments;
@end

@interface CourseCommentAverageCommentView : UIView
@property (nonatomic,strong) UILabel *titleLabel;
@property (nonatomic,strong) EDStarRating *ratingView;
- (void)setWithStarFloat:(CGFloat)starFloat peopleCount:(NSInteger)count;
@end

@interface CourseDetailCommentView : UIView<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic,strong) YWTableView *tableView;
@property (nonatomic,strong) CourseCommentTableHeaderView *headerView;
- (void)updateWithPageObj:(id)obj;
@end
